package com.air.thread;

import org.openjdk.jol.info.ClassLayout;

/**
 * @author shent
 */
public class PrintRom {
    public static void main(String[] args) {
        Object o = new Object();
        //打印对象头,查看锁状态
        System.out.println(ClassLayout.parseInstance(o).toPrintable());
    }
}
